package com.wsz.user.service;

import com.wsz.pojo.Essays;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wsz.pojo.R;
import com.wsz.pojo.dto.EssayDto;
import com.wsz.pojo.query.EssayQuery;

/**
* @author wangs
* @description 针对表【essays】的数据库操作Service
* @createDate 2023-01-27 21:18:29
*/
public interface EssaysService extends IService<Essays> {

    R release(EssayDto essayDto);

    R getEssays(String userId,Long limit, Long page, EssayQuery essayQuery);

    R updateEssay(EssayDto essayDto);

    Integer getEssaysCount(String date);
}
